﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>平台首页</title>
    <link href="~/Resource/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Content/Site.css" rel="stylesheet" />
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">
                layui 后台布局
            </div>
            <!-- 头部区域（可配合layui已有的水平导航） -->
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item"><a href="">控制台</a></li>
                <li class="layui-nav-item"><a href="">商品管理</a></li>
                <li class="layui-nav-item"><a href="">用户</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">其它系统</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="">邮件管理</a>
                        </dd>
                        <dd>
                            <a href="">消息管理</a>
                        </dd>
                        <dd>
                            <a href="">授权管理</a>
                        </dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                        贤心
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="">基本资料</a>
                        </dd>
                        <dd>
                            <a href="">安全设置</a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item" id="logOut"><a href="javascript:;">退出</a></li>
            </ul>
        </div>
        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <ul class="layui-nav layui-nav-tree" id="choiceTab">
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">所有商品</a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" data-icon="icon-zhanghu">
                                    <i class="iconfont icon-zhanghu"></i><cite>个人资料</cite>
                                </a>
                            </dd>
                            <dd>
                                <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" data-icon="icon-zhanghu">
                                    <i class="iconfont icon-zhanghu"></i><cite>个人资料1</cite>
                                </a></a>
                            </dd>
                            <dd>
                                <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" lay-id="3"
                                   data-icon="icon-zhanghu"><i class="iconfont icon-zhanghu"></i><cite>个人资料2</cite></a></a>
                            </dd>
                            <dd>
                                <a href="http://www.baidu.com" target="_blank">打开链接</a>
                            </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">解决方案</a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" data-icon="icon-zhanghu">
                                    <i class="iconfont icon-zhanghu"></i><cite>个人资料</cite>
                                </a>
                            </dd>
                            <dd>
                                <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" data-icon="icon-zhanghu">
                                    <i class="iconfont icon-zhanghu"></i><cite>个人资料</cite>
                                </a>
                            </dd>
                            <dd>
                                <a href="">超链接</a>
                            </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" data-icon="icon-zhanghu">
                            <i class="iconfont icon-zhanghu"></i><cite>个人资料</cite>
                        </a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;" data-type="openWin" data-url="/Admin/Student" data-icon="icon-zhanghu">
                            <i class="iconfont icon-zhanghu"></i><cite>个人资料</cite>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="layui-body layui-form">
            <!-- 内容主体区域 -->
            <div class="layui-tab marg0 body_tab" lay-filter="bodyTab">
                <ul class="layui-tab-title top_tab">
                    <li class="layui-this isfirst" lay-id="0">
                        <i class="iconfont icon-computer"></i><cite>
                            后台首页
                        </cite>
                    </li>
                </ul>
                <ul class="layui-nav oper_tab">
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <i class="iconfont icon-caozuo"></i>
                            页面操作
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;" class="refresh refreshThis">
                                    <i class="layui-icon">&#x1002;</i>
                                    刷新当前
                                </a>
                            </dd>
                            <dd>
                                <a href="javascript:;" class="closePageOther">
                                    <i class="iconfont icon-prohibit"></i>
                                    关闭其他
                                </a>
                            </dd>
                            <dd>
                                <a href="javascript:;" class="closePageAll"><i class="iconfont icon-guanbi"></i>关闭全部</a>
                            </dd>
                        </dl>
                    </li>
                </ul>
                <div class="layui-tab-content clildFrame">
                    <div class="layui-tab-item layui-show">
                        <iframe src="/Admin/Student" lay-id="0"></iframe>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-footer">
            <!-- 底部固定区域 -->
            © layui.com - 底部固定区域
        </div>
    </div>
    <script src="~/Resource/layui/layui.js"></script>
    <script>
        layui.config({
            base: "/Resource/js/modules/"
        }).use(['bodyTab', 'layer'], function () {
            var layer = layui.layer;
            var $ = layui.$;
            var tab = layui.bodyTab({ maxTabNum: 10 });
            $("#logOut").on("click", function () {
                layer.confirm('确定要退出吗?', { icon: 3, title: '提示' }, function (index) {
                    location.href = "/Account/LogOut";
                });
            })
            $("#choiceTab").on("click", "a[data-type=openWin]", function () {
                tab.tabAdd($(this));
            })

        });
    </script>
</body>
</html>
